﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using UBCon.Navigation;

namespace UBCon.Navigation
{
    public class DragCompletedEventArgs : RoutedEventArgs
    {
        public DragCompletedEventArgs(double hChange, double vChange, bool _canceled)
            : base(OutlookBarItem.DragCompletedEvent)
        {
            this._horizontalChangel = hChange;
            this._verticalChange = vChange;
            this.canceled = _canceled;
        }

        public double HorizontalChange
        {
            get
            {
                return this._horizontalChangel;
            }
        }
        public double VerticalChange
        {
            get
            {
                return this._verticalChange;
            }
        }
        public bool Canceled
        {
            get
            {
                return this.canceled;
            }
        }
        private bool canceled;
        private double _verticalChange, _horizontalChangel;

    }

    public delegate void DragCompletedEventHandler(object sender, UBCon.Navigation.DragCompletedEventArgs e);
}
